package com.guli.mall.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.pojo.vo.TreeNode;
import com.guli.common.utils.PageUtils;
import com.guli.mall.pms.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author 罗俊华
 * @email 1007052116@qq.com
 * @date 2020-09-11 20:31:22
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Integer currentPage,Integer size);

    TreeNode<CategoryEntity> treeNodeList();

    void removeByCategoryIds(List<Long> cateGoryIds);

    CategoryEntity treeCategoryList();

    void updateBatch(List<CategoryEntity> category);

    List<Long> findCategoryIdPath(Long categoryId);

    void updateBatchDetail(List<CategoryEntity> asList);
}

